<template>
  <div class="my-tabbar">
    <van-tabbar route inactive-color="#333" active-color="#ff734c">
      <van-tabbar-item to="/home" icon="shouye" icon-prefix="icon">首页</van-tabbar-item>
      <van-tabbar-item to="/cate" icon="icon04" icon-prefix="icon">分类</van-tabbar-item>
      <van-tabbar-item to="/cart" icon="gouwuche" :badge="$store.state.cart.buyNumber" icon-prefix="icon">购物车</van-tabbar-item>
      <van-tabbar-item to="/user" icon="wode" icon-prefix="icon">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss" scoped>
.my-tabbar{
  /deep/ .van-tabbar-item__icon{
    .icon{
      font-size: 22px;
    }
  }
}
</style>
